<h3>Lista de Contas</h3>
<input type="button" onClick="location. href=('../gerenciador/conta/cadastro')" value="Cadastrar">
<fieldset style="width:400px;">
<table>
	<tr>
		<th> Banco </th>
		<th> Agência </th>
		<th> Conta </th>
		<th> Saldo Inicial </th>
		<th> Saldo Atual </th>
	</tr>
	
<?php
	echo $this->pagination->create_links();
	foreach($contas as $conta)
	{
?>
	<tr>
		<td> <?php echo $conta->Banco;?> </td>
		<td> <?php echo $conta->Agencia;?> </td>
		<td> <?php echo $conta->Conta;?> </td>
		<td> <?php echo $conta->SaldoInicial;?> </td>
		<td> <?php echo $conta->SaldoAtual;?> </td>
		<td>
			<a href="<?=site_url("gerenciador/conta/editar/" . $conta->ContaID)?>">EDITAR</a>
			<br />
			<a class="lnkEcluir" href="<?=site_url("gerenciador/conta/excluir/" . $conta->ContaID)?>">EXCLUIR</a>
		</td>
	</tr>
<?php 
	}
?>
</table>
</fieldset>